from typing import BinaryIO, TextIO


def calcT(a: TextIO) -> int: ...
def calcB(a: BinaryIO) -> int: ...